package main

import "fmt"

type AA interface {
	X()
}

type A struct {
	a int
}

func (a *A) X() {
	fmt.Println(a.a)
}

func f(aa AA) {
	aa.X()
}

func main() {

}
